package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.PostKeyWordEntity;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface PostKeyWordMapper extends Mapper<PostKeyWordEntity> {
    //更新
    Integer updateViews(PostKeyWordEntity postKeyWordEntity)throws Exception;

    //关键字搜索前十的数据
    List<PostKeyWordEntity> hotKeyword()throws Exception;
}
